
// export function queryOrderAll() {
//   return request({
//     url: '/zf/order/queryOrderAll',
//     method: 'get'
//   })
// }

import request from '@/utils/request'

export function queryAllYuYueOrderPage(page) {
  return request({
    url: '/zf/order/queryAllPage',
    method: 'get',
    params: page
  })
}

export function ZfYuYueOrderDelete(id) {
  return request({
    url: '/zf/order/delete/' + id,
    method: 'get'
  })
}

export function ZfYuYueOrderDeleteAll(ids) {
  return request({
    url: '/zf/order/delete/all',
    method: 'get',
    params: {
      ids: ids.join(',')
    }
  })
}

export function getOrderNum() {
  return request({
    url: '/zf/order/num',
    method: 'get'
  })
}

export function ZfYuYueOrderUpdate(data) {
  return request({
    url: '/zf/order/update',
    method: 'post',
    data
  })
}

export function ZfYuYueOrderAdd(data) {
  return request({
    url: '/zf/order/add',
    method: 'post',
    data
  })
}
export function uploadExcel(data) {
  return request({
    url: '/zf/upload/yuYueOrderExcel',
    method: 'post',
    data
  })
}


export function getStatusRate(data) {
  return request({
    url: '/zf/order/getStatusRate',
    method: 'get',
    data
  })
}















